package com.ftg.learn.assess.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "用户端给商品评价传递的数据模型")
public class UserAddAssessDto {

    @Schema(description = "评价id")
    Long evaluationId;

    @Schema(description = "用户id")
    Long userId;

    @Schema(description = "商品id")
    Long productId;

    @Schema(description = "评价内容")
    String content;

    @Schema(description = "评分")
    Integer rating;

    @Schema(description = "是否匿名")
    Integer isAnonymous;

    @Schema(description = "文件访问URL")
    private List<String> urls;

    @Schema(description = "文件类型（image/video）")
    private List<Integer> types;

}
